package com.sysmind.ravi.margin.model;

public class Order 
{	private int orderId;
	private int numShares;
	private int orderType; // 1 = buy, 2 = sell
	private double orderPrice;
	private long orderTimeStamp;
	
	public Order()
	{
		
	}
	
	public String toString()
	{
		return orderId+ " "+numShares + " "+orderType + " "+orderPrice + " "+orderTimeStamp;
	}
	public int getOrderId() {
		return orderId;
	}
	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}
	public int getNumShares() {
		return numShares;
	}
	public void setNumShares(int numShares) {
		this.numShares = numShares;
	}
	public int getOrderType() {
		return orderType;
	}
	public void setOrderType(int orderType) {
		this.orderType = orderType;
	}
	public double getOrderPrice() {
		return orderPrice;
	}
	public void setOrderPrice(double orderPrice) {
		this.orderPrice = orderPrice;
	}
	public long getOrderTimeStamp() {
		return orderTimeStamp;
	}
	public void setOrderTimeStamp(long orderTimeStamp) {
		this.orderTimeStamp = orderTimeStamp;
	}

}
